{template 'common/header'}
<style type="text/css">
table li{padding:5px 0;}
small a{color:#999;}
</style>
<ul class="nav nav-tabs">
	<li ><a href="{php echo $this->createWebUrl('acmanagers',array());}">经理管理</a></li>
	
	<li><a href="{php echo $this->createWebUrl('acmanager',array('op'=>'post'));}">添加邀请码</a></li>
	<li><a href="{php echo $this->createWebUrl('acmanager',array('op'=>'list'));}">邀请码管理</a></li>
	<li  class="active"><a href="">经理详细信息</a></li>
</ul>
<div class="main">
	<div class="form form-horizontal">
		<h4>经理详细信息</h4>
		<table class="tb">
		<form action="">
			<input type="hidden" name="id" value="{$user['id']}">
			<input type="hidden" name="flag" value="{$user['flag']}">
			<input type="hidden" name="op" value="status">
			<input type="hidden" name="act" value="module" />
			<input type="hidden" name="name" value="broke" />
			<input type="hidden" name="do" value="acmanagers" />
	
			<tr>
				<th style="width:200px"><label>设置状态</label></th>
				<td style="text-align: left;">
					<label class="radio inline" ><input type="radio" name="status" value="0" {if $user['status']==0}checked{/if}>禁用</label>
					<label class="radio inline" ><input type="radio" name="status" value="1" {if $user['status']==1}checked{/if}>可用</label>
				</td>
			</tr>
			<tr>
				<th style="width:200px"><label for="">真实姓名</label></th>
				<td>
					{if $user['realname']!=""} {$user['realname']}{else}未完善{/if}
				</td>
			</tr>
			<tr>
				<th style="width:200px"><label for="">手机号码</label></th>
				<td>
					{if $user['mobile']!=""} {$user['mobile']}{else}未完善{/if}
				</td>
			</tr>
			<tr>
				<th style="width:200px"><label for="">邀请码</label></th>
				<td>
					<a href="{php echo $this->createWebUrl('acmanager', array('id' => $user['codeid'],'op'=>'post'));}">{$user['code']}</a>
				</td>
			</tr>
			<tr>
				<th style="width:200px"><label for="">楼盘</label></th>
				<td>
					{loop $loupanids $l}
						<input type="button" value="{$loupans[$l]}"/>
					{/loop}
				</td>
			</tr>
			<tr>
				<th><label for="">注册时间</label></th>
				<td>
					{php echo date('Y-m-d H:i:s', $user['createtime']);}
				</td>
			</tr>
		
			<tr>
				<th><label for="">备注</label></th>
				<td>
					<textarea type="text" name="content" >{$user['content']}</textarea>
				</td>
			</tr>

			<tr>
				<th></th>
				<td>
					<input type="button" class="btn btn-primary span3" name="submit" onclick="history.go(-1)" value="返回" />
					<input type="submit" class="btn btn-primary span3" name="submit"  value="提交" />
				</td>
			</tr>
			</form>
		</table>
	</div>
</div>
{template 'common/footer'}
